/**
 * 
 * 广州锐鹏计算机科技有限公司（www.ruipengkj.com）
 * 
 * 
 * Copyright (c) 2011-2012 RUIPENGKJ.Co.Ltd. All rights reserved.
 * 
 * */
package com.ruipengkj.bean;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 说明：
 * Entity Name 商店
 * @Author：李智深
 * @Date：2012-03-14
 */
@Entity
@Table(name="ruipeng_tb_TShop")
public class TShop implements Serializable{

	private static final long serialVersionUID = 1L;

	private String ShopID;//商店编号CHAR(15)  PK
	
	private String Name;//商店名称VARCHAR(200)
	
	private int TotalNum;//总销售数量INTEGER
	
	private double TotalMoney;//总销售额DECIMAL(20,3)
	
	private String Des;//描述VARCHAR(10240)
	
	private String AD;//广告标语VARCHAR(256)
	
	private String SmallPic;//标题图片
	
	private String CatalogID;//所属目录CHAR(15)
	
	private String Scope;//主营范围VARCHAR(128)
	
	private String Viewer;//商店展示视图VARCHAR(64)

	private String ViewParam;//展示参数VARCHAR(256)

	private byte IsOnlineSale;//是否支付在线交易TINYINT

	private String Phone;//商店电话VARCHAR(32)

	private String OwnerName;//店主姓名CHAR(10)
	
	private byte IsIntimeSale;//是否支持实时外送TINYINT

	private byte IsLogisticSale;//是否支持物流

	private int IntimeDistance;//实时外送距离Integer

	private String Runtime;//营业时间VARCHAR(128)

	private double IntimeAmount;//起送金额DECIMAL(20,3)

	private int IntimeCount;//起送份数INTEGER

	private byte IsSMSOrder;//订单是否通过短信发送TINYINT

	private String Notice;//公告VARCHAR(1024)

	private boolean IsAutoUptMemberLevel;//是否自动升级会员级别 boolean

	private byte SaleType;//商品类型TINYINT1为可以进货也可以出售的商品  2为进货但不出售的商品 3为只出售不出货的商品 默认为1

	private double Money;//商店资金DECIMAL(20,3)资金的逻辑是系统建立期初有一部分资金（也可为0），采购和销售会引起资金的变化

	private String Address;//商店地址VARCHAR(128)
	
	private String ZipCode;//邮编CHAR(6)
	
	private String URL;//网址VARCHAR(256)

	private String EMail;//网址VARCHAR(64)
	
	private String SiteUserName;//用户名
	
	private String SitePwd;//密码
	@Column(name = "SiteUserName")
	public String getSiteUserName() {
		return SiteUserName;
	}

	public void setSiteUserName(String siteUserName) {
		SiteUserName = siteUserName;
	}
	@Column(name = "SitePwd")
	public String getSitePwd() {
		return SitePwd;
	}

	public void setSitePwd(String sitePwd) {
		SitePwd = sitePwd;
	}

	@Id
	@Column(name = "ShopID", length=15)
	public String getShopID() {
		return ShopID;
	}

	public void setShopID(String shopID) {
		ShopID = shopID;
	}

	@Column(name = "Name", length=200)
	public String getName() {
		return Name;
	}

	public void setName(String name) {
		Name = name;
	}

	@Column(name = "TotalNum")
	public int getTotalNum() {
		return TotalNum;
	}

	public void setTotalNum(int totalNum) {
		TotalNum = totalNum;
	}

	@Column(name = "TotalMoney", precision = 20, scale = 3)
	public double getTotalMoney() {
		return TotalMoney;
	}

	public void setTotalMoney(double totalMoney) {
		TotalMoney = totalMoney;
	}

	@Column(name = "Des", length=1024)
	public String getDes() {
		return Des;
	}

	public void setDes(String des) {
		Des = des;
	}

	@Column(name = "AD", length=256)
	public String getAD() {
		return AD;
	}

	public void setAD(String aD) {
		AD = aD;
	}

	@Column(name = "SmallPic", length=256)
	public String getSmallPic() {
		return SmallPic;
	}

	public void setSmallPic(String smallPic) {
		SmallPic = smallPic;
	}

	@Column(name = "CatalogID", length=15)
	public String getCatalogID() {
		return CatalogID;
	}

	public void setCatalogID(String catalogID) {
		CatalogID = catalogID;
	}

	@Column(name = "Scope", length=128)
	public String getScope() {
		return Scope;
	}

	public void setScope(String scope) {
		Scope = scope;
	}

	@Column(name = "Viewer", length=64)
	public String getViewer() {
		return Viewer;
	}

	public void setViewer(String viewer) {
		Viewer = viewer;
	}

	@Column(name = "ViewParam", length=256)
	public String getViewParam() {
		return ViewParam;
	}

	public void setViewParam(String viewParam) {
		ViewParam = viewParam;
	}

	@Column(name = "IsOnlineSale")
	public byte getIsOnlineSale() {
		return IsOnlineSale;
	}

	public void setIsOnlineSale(byte isOnlineSale) {
		IsOnlineSale = isOnlineSale;
	}

	@Column(name = "Phone", length=32)
	public String getPhone() {
		return Phone;
	}

	public void setPhone(String phone) {
		Phone = phone;
	}

	@Column(name = "OwnerName", length=10)
	public String getOwnerName() {
		return OwnerName;
	}

	public void setOwnerName(String ownerName) {
		OwnerName = ownerName;
	}

	@Column(name = "IsIntimeSale")
	public byte getIsIntimeSale() {
		return IsIntimeSale;
	}

	public void setIsIntimeSale(byte isIntimeSale) {
		IsIntimeSale = isIntimeSale;
	}

	@Column(name = "IsLogisticSale")
	public byte getIsLogisticSale() {
		return IsLogisticSale;
	}

	public void setIsLogisticSale(byte isLogisticSale) {
		IsLogisticSale = isLogisticSale;
	}

	@Column(name = "IntimeDistance")
	public int getIntimeDistance() {
		return IntimeDistance;
	}

	public void setIntimeDistance(int intimeDistance) {
		IntimeDistance = intimeDistance;
	}

	@Column(name = "Runtime", length=128)
	public String getRuntime() {
		return Runtime;
	}

	public void setRuntime(String runtime) {
		Runtime = runtime;
	}

	@Column(name = "IntimeAmount", precision = 20, scale = 3)
	public double getIntimeAmount() {
		return IntimeAmount;
	}

	public void setIntimeAmount(double intimeAmount) {
		IntimeAmount = intimeAmount;
	}

	@Column(name = "IntimeCount")
	public int getIntimeCount() {
		return IntimeCount;
	}

	public void setIntimeCount(int intimeCount) {
		IntimeCount = intimeCount;
	}

	@Column(name = "IsSMSOrder")
	public byte getIsSMSOrder() {
		return IsSMSOrder;
	}

	public void setIsSMSOrder(byte isSMSOrder) {
		IsSMSOrder = isSMSOrder;
	}

	@Column(name = "Notice", length=1024)
	public String getNotice() {
		return Notice;
	}

	public void setNotice(String notice) {
		Notice = notice;
	}

	@Column(name = "IsAutoUptMemberLevel")
	public boolean isIsAutoUptMemberLevel() {
		return IsAutoUptMemberLevel;
	}

	public void setIsAutoUptMemberLevel(boolean isAutoUptMemberLevel) {
		IsAutoUptMemberLevel = isAutoUptMemberLevel;
	}

	@Column(name = "SaleType")
	public byte getSaleType() {
		return SaleType;
	}

	public void setSaleType(byte saleType) {
		SaleType = saleType;
	}

	@Column(name = "Money", precision = 20, scale = 3)
	public double getMoney() {
		return Money;
	}

	public void setMoney(double money) {
		Money = money;
	}

	@Column(name = "Address", length=128)
	public String getAddress() {
		return Address;
	}

	public void setAddress(String address) {
		Address = address;
	}

	@Column(name = "ZipCode", length=6)
	public String getZipCode() {
		return ZipCode;
	}

	public void setZipCode(String zipCode) {
		ZipCode = zipCode;
	}

	@Column(name = "URL", length=256)
	public String getURL() {
		return URL;
	}

	public void setURL(String uRL) {
		URL = uRL;
	}

	@Column(name = "EMail", length=64)
	public String getEMail() {
		return EMail;
	}

	public void setEMail(String eMail) {
		EMail = eMail;
	}
}
